Interview Questions and Answer
Options:
a. int main(int argc, char *argv[])
b. int main(argc, argv)
c. int main() { int argc; char *argv; }
d. None of Above
Reveal Answer
Options:
a. 'c' means argument count 'v' means argument vector
b. 'c' means argument control 'v' means argument vector
c. 'c' means argument count 'v' means argument vertex
d. None of above
Reveal Answer
Options:
a. “command line arguments”
b. % command line arguments %
c. ‘command line arguments’
d. & command line arguments
Reveal Answer
Options:
a. first contains count of arguments supplied at command-line
b. In place of first and sec, argc and argv should be used
c. sec[] contains addresses of arguments supplied at a command line
d. None of above
Reveal Answer
Options:
a. …
b. !..
c. Arguments are separated by & symbol
d. …..
Reveal Answer
Options:
a. Passed at runtime
b. passed at compile time
c. Passed to the main function during preprocessing of the program
d. passed during dynamic memory allocation
Reveal Answer
Bestdotnet google plus